Class
RavenParenthesizedUnionJsonConverter<TUnion>
class RavenParenthesizedUnionJsonConverter<TUnion>
Namespace: System
Assembly: Raven.Core.dll
Source file: UnionJsonConverter.rvn
Inheritance: object → JsonConverter → JsonConverter<TUnion> → RavenParenthesizedUnionJsonConverter<TUnion>
Converts a parenthesized ad-hoc union to and from JSON.
Constructors
1 itemProperties
3 itemsMethods
2 items
virtual override func Read(ref reader: Utf8JsonReader, typeToConvert: Type, options: JsonSerializerOptions) -> TUnion?
Reads a parenthesized union from JSON.
virtual override func Write(writer: Utf8JsonWriter, value: TUnion, options: JsonSerializerOptions) -> ()
Writes a parenthesized union to JSON.